package com.github.pudding.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Stephen
 * @since 2018/9/14
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("/info")
    public String info() {

        String info = "hello info";

        System.out.println("info");

        return info;
    }
}
